package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Author WEN
 * @Date 2023/8/14 0014
 **/
@Data
@Accessors(chain = true)
@ApiModel("下拉结果对象")
public class SelectResultVo {
    @ApiModelProperty(value = "ID值")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "是否默认选中")
    private boolean select;

    public SelectResultVo(){}

    public SelectResultVo(Long id, String name){
        this.id = id;
        this.name = name;
    }

    public SelectResultVo(Long id, String name, boolean select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }
}
